package com.example.extension.framework.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import com.example.extension.framework.ScenarioCapable;
import com.example.extension.framework.config.ExtensionConfigBean;

//@Component
public class DefaultScenarioCapableImpl implements ScenarioCapable {

    private static final Logger LOGGER = LoggerFactory.getLogger(DefaultScenarioCapableImpl.class);

    @Autowired
    private ExtensionConfigBean extensionConfig;

    @Override
    public String getScenarioCode(String tenantCode, Class<?> superType) {
        return extensionConfig.getScenarioCode(tenantCode, superType);
    }

}
